package com.ztgf.order.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-07-02 09:54
 * Description:
 */
@Data
public class OrderDetailsInvoiceVO implements Serializable {

    @ApiModelProperty(value = "订单发票表id")
    private Long id;
    @ApiModelProperty(value = "卖家店铺id")
    private Long shopId;
    @ApiModelProperty(value = "买家店铺id")
    private Long receiveShopId;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty(value = "纳税人识别号")
    private String taxpayerId;
    @ApiModelProperty(value = "公司名称")
    private String name;
    @ApiModelProperty(value = "收票人手机")
    private String mobile;
    @ApiModelProperty(value = "收票人邮箱")
    private String email;
    @ApiModelProperty(value = "发票图片")
    private String invoiceUrl;
    @ApiModelProperty(value = "类型 0纸质发票，1电子发票")
    private Integer type;
    @ApiModelProperty(value = "发票类型 0普票，1专票")
    private Integer invoiceType;
    @ApiModelProperty(value = "发票金额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal invoicePrice;
    @ApiModelProperty(value = "发票内容")
    private String invoiceContent;
    @ApiModelProperty(value = "邮政编码")
    private String postalCode;
    @ApiModelProperty(value = "区域id")
    private String areaId;
    @ApiModelProperty(value = "收票名字")
    private String receivingName;
}
